Total Complexity | 2 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | import Document, { |
||
8 | |||
9 | class MyDocument extends Document { |
||
10 | static async getInitialProps(ctx: DocumentContext) { |
||
11 | const initialProps = await Document.getInitialProps(ctx); |
||
12 | return { ...initialProps }; |
||
13 | } |
||
14 | |||
15 | render() { |
||
16 | return ( |
||
17 | <Html> |
||
18 | <Head> |
||
19 | <meta |
||
20 | name="viewport" |
||
21 | content="initial-scale=1.0, width=device-width" |
||
22 | /> |
||
23 | <meta name="description" content="NAV Jobb Utforsker" /> |
||
24 | <link rel="icon" href="/favicon.ico" /> |
||
25 | <link rel="preconnect" href="https://fonts.googleapis.com" /> |
||
26 | <link |
||
27 | rel="preconnect" |
||
28 | href="https://fonts.gstatic.com" |
||
29 | crossOrigin="true" |
||
30 | /> |
||
31 | <link |
||
32 | href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;700&display=swap" |
||
33 | rel="stylesheet" |
||
34 | /> |
||
35 | </Head> |
||
36 | <body> |
||
37 | <Main /> |
||
38 | <NextScript /> |
||
39 | </body> |
||
40 | </Html> |
||
41 | ); |
||
46 |